<div ms-controller="rtstoreQuery" class="rtsrore-query">
  <p class="path">您现在的位置为：<span ms-text="@breadcrumb">固办-领用单管理</span></p>
  <form class="form-inline" onsubmit="return false;">
    <div class="form-group">
      <label for="deptAccountName">选择科室：</label>
      <input type="text" class="form-control" id="deptAccountName" placeholder="" ms-duplex="@deptAccountName" ms-keydown="@chooseDesp | enter">
    </div>
    <div class="form-group">
      <label for="packageBigCat">大类：</label>
      <input type="text" class="form-control" id="packageBigCat" placeholder="" ms-duplex="@packageBigCatName" ms-keydown="@choosePackageBig | enter">
    </div>
    <div class="form-group">
      <label for="goodsID">物品代码：</label>
      <input type="text" class="form-control" id="goodsID" placeholder="" ms-duplex="@goodsName" ms-keydown="@chooseGoods | enter">
    </div>
    <div class="form-group">
      <button type="button" class="btn btn-sm btn-primary" ms-click="@search">查询</button>
      <button type="button" class="btn btn-sm btn-primary last" ms-click="@excelExport">导出</button>
      <button type="button" class="btn btn-info btn-sm last" ms-click="@back">返回</button>
    </div>
  </form>

  <div class="report-table">
    <div class="table-container">
      <xmp ms-widget="{is:'ms-tableFixed',id:'xxx_rts_main',header:@rtsTableHeader,row:@rtsTableRow,sourceData:@rtsTableData,height:'310',showPages:true,chooseDataFun:@viewCardDetail,parentHandleClickFun:@handleClick,showClickClass:true,elementID:'RTSQueryMain'}">
      </xmp>
    </div>
    <div class="table-container">
      <xmp ms-widget="{is:'ms-tableFixed',id:'xxx_rts_detail',header:@detailTableHeader,row:@detailTableRow,data:@detailTableData,height:'210',showClickClass:true,elementID:'RTSQueryDetail'}">
      </xmp>
    </div>
  </div>
</div>